import { createStore } from "redux"

const pageAReducer = ((state = {
  appid: ''
}, action) => {
  switch (action.type) {
    case 'APPIDSET':
      return {
        ...state,
        appid: action.appid
      }
    default:
      return state
  }
})

const store = createStore(pageAReducer)

export default store